﻿ALTER TABLE [dbo].[PageTemplateConstraint]
    ADD CONSTRAINT [FK_PageTemplateConstraint_PageTemplate] FOREIGN KEY ([ParentTemplateId]) REFERENCES [dbo].[PageTemplate] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION;

